# -*- coding: utf-8 -*-
import scrapy

from zhilian.items import ZhilianItem


class ZhilianspiderSpider(scrapy.Spider):
    name = 'zhilianspider'
    allowed_domains = ['sou.zhaopin.com']
    start_urls = ['https://fe-api.zhaopin.com/c/i/sou?pageSize=90&cityId=801&salary=0,0&workExperience=-1&education=-1&companyType=-1&employmentType=-1&jobWelfareTag=-1&kw=Python&kt=3&=0&_v=0.49167133&x-zp-page-request-id=844b3e23e2d5421488e7fe8d97c51aab-1559136000281-135741&x-zp-client-id=3d1c8746-5afc-424e-bfbf-39e6dc4a14f8']

    def parse(self, response):
        import bs4
        bs = bs4.BeautifulSoup(response.text)
        item = ZhilianItem()
        items_div = bs.find()
